<section>
    <ul class="articulos">
        <?
        $cnt = 0;
        foreach($articulos as $articulo)
        {
        ?>
        <li>
            <div class="title-bar">
                <a href="<?=BASE_URL."/articulo/".$articulo->id?>">
                    <h3><?=word_limiter(strip_tags($articulo->title),9)?></h3>
                </a>
            </div>
            
            <div class="articulo" style="clear: both">
                <div class="imagen">
                    <a href="<?=BASE_URL."/articulo/".$articulo->id?>">
                        <img src="<?=BASE_URL."/articulo/imagen/".$articulo->id?>/180x272">    
                    </a>        
                </div>
                
                <div class="contenido">
                    
                    <?$this->load->view("articulo/share",array("url"=>BASE_URL."/articulo/".$articulo->id));?>
                    
                    <div class="fulltext">
                        <p>
                            <?=word_limiter(strip_tags($articulo->fulltext),100)?>
                        </p>

                    </div>
                    
                    <div class="vermas">
                            <a href="<?=BASE_URL."/articulo/".$articulo->id?>">
                                <span></span><p>Ver nota</p>
                            </a>
                            
                    </div>
                    
                </div>

            </div>

            <?
               if($cnt == 1){
            ?>    
                <div class="ads">
                    <?= (isset($publicidadmiddlebanner1->adsense)) ? $publicidadmiddlebanner1->adsense : ""; ?> 
                </div>
            <?
               }
               $cnt++;
            ?>

            
        </li>
        <?
        }
        ?>
    </ul>

</section>
